package com.xwj.service.Interface;

import com.xwj.entity.RaRoleRoot;

import java.util.List;
import java.util.Map;

/**
 * Created by thinkjoy on 2017/7/12.
 */
public interface RaRoleRootService {
    List<RaRoleRoot> findAllRoleRoot();

    List<RaRoleRoot> findRoleRootByRoleId(int roleid);

    List<RaRoleRoot> findRoleRootByRoleIds(List roleids);

    int deleteAllRoot(int roleId);

    int deleteRootById(Map<String, Object> map);

    int insertRoleRoot(Map<String, Object> map);

    List<RaRoleRoot> findRoleByRootId(int id);
}
